#include <soar.h>

int main()
{
    char *str="abcd +.-_0123~!@#$%^&*()`";
    char encode[100];
    url_encode(str, strlen(str), encode);
    printf("string: %s\n", str);
    printf("url_encode: %s\n", encode);
    char decode[100];
    url_decode(encode, strlen(encode), decode);
    printf("url_decode: %s\n", decode);

    return(0);
}
